<template>
<div>
  <Header />
  <router-view />
  <Footer v-if="isShowFooter" />
  </div>
</template>
<script>
import Header from "./components/Header";
import Footer from './components/Footer';

export default {
  name:"App",
  computed:{
    isShowFooter(){
      const { path } = this.$route;
      return path !== '/login' && path !== 'register';
    }
  },
  components:{
    Header,
    Footer,
  },
};
</script>


<style lang="less"></style>
